package io.renren.service;

import com.alibaba.fastjson.JSONObject;
import io.renren.entity.SbydglEntity;
import io.renren.entity.SysUserEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 商保异动管理
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-08-03 15:03:42
 */
public interface SbydglService {
	
	SbydglEntity queryObject(Integer ydId);
	
	List<SbydglEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SbydglEntity sbydgl);
	
	void update(SbydglEntity sbydgl);
	
	void delete(Integer ydId);
	
	void deleteBatch(Integer[] ydIds);

	void addSbyd(JSONObject params, SysUserEntity sysUserEntity);

	List<String> getBatchCode();
	void addBusinesspay(Integer[] ydDetIds,HttpServletRequest request,SysUserEntity sysUserEntity);
}
